package com.cf.game.cowboy.msg;

import com.cf.game.cowboy.config.EnumH5GameMessageType;
import com.cf.serialize.Response;


/**
 * cf-game-CowQueryRequest
 * 同步游戏信息
 *
 * @author <a href="2428922347@qq.com">Zhu mingming</a>
 * @info
 * @since 2018/3/27 11:41
 */

public class CowStakeResponse extends Response {

    public static Integer type = EnumH5GameMessageType.COW_BOY_STAKE_RESULT.getType();

    /**
     * 用户账户余额
     */
    private double money;

    public CowStakeResponse(String msg, Integer code, double money) {
        super(msg, code);
        this.money = money;
    }
    
    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        CowGameInfoResponse.type = type;
    }

    public double getMoney() {
        return money;
    }

    public void setMoney(double money) {
        this.money = money;
    }

    @Override
    public Integer messageType() {
        return type;
    }
}
